package com.itheima.Test_课上作业.抽象类.抽象类的作用_03;

public abstract class EatTemplate {
    //模板方法一般不允许子类重写
    public final void eat(){
        System.out.println("去餐盘...");
        quCan();
        System.out.println("扫码结账...");
    }

    public abstract void quCan();
}
